<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<link rel="stylesheet" href="statics/css/other/tpl/newupgeneral.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span>客诉明细</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">客诉单号</label>
                        <div class="layui-input-inline">
                            <div class="layui-input-inline">
                                <input type="text" name="oddNumber" id="oddNumber" autocomplete="off" class="layui-input" lay-verify="required">
                                <input type="hidden" name="boxStatus" id="boxStatus">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">客户名称</label>
                        <div class="layui-input-inline">
                            <div class="layui-input-inline">
                                <input type="text" name="customerName" autocomplete="off" lay-verify="required" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">创建日期</label>
                        <div class="layui-input-inline">
                            <input type="text" name="createTime" id="createTime" lay-verify="required|datetime"
                                   autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">业务员</label>
                        <div class="layui-input-inline">
                            <select name="salesman" id="salesman" lay-verify="required" lay-search>
                                <option value=""></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">制单公司</label>
                        <div class="layui-input-inline">
                            <div class="layui-input-inline">
                                <select lay-search name="complaintUnit" id="complaintUnit"
                                        lay-filter="complaintUnitSelect" lay-verify="required">
                                    <option value=""></option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">银行</label>
                        <div class="layui-input-inline">
                            <select lay-search name="issuingBank" id="issuingBank" lay-filter="issuingBankSelect"
                                    lay-verify="required">
                                <option value=""></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">操作员</label>
                        <div class="layui-input-inline">
                            <select name="executor" id="executor" lay-verify="required" lay-search>
                                <option value=""></option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">客诉成立否</label>
                        <div class="layui-input-inline">
                            <select name="isEstablish" id="isEstablish" lay-verify="required">
                                <option value=""></option>
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">责任方</label>
                        <div class="layui-input-inline">
                            <input type="text" name="responsibleParty" id="responsibleParty" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">币种</label>
                        <div class="layui-input-inline">
                            <select name="currency" id="currency" lay-verify="required" lay-search>
                                <option value=""></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">客户扣款金额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="clientDeductionPrice" id="clientDeductionPrice" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">供应商扣款金额（人民币）</label>
                        <div class="layui-input-inline">
                            <input type="text" name="supplierDeductionPrice" id="supplierDeductionPrice" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <textarea name="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">客诉明细</li>
                                <li class="">附件</li>
                                <li class="">日志</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item  layui-show">
                                    <table class="layui-table" id="storageproducts"
                                           lay-filter="storageproductstable"></table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="attachment" lay-filter="attachmenttable"></table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="otherwarehouselog" lay-filter="logtable"></table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<script type="text/html" id="imgTpl">
    <img src="{{d.productimg}}" data-id="{{d.id}}" class="btn_productimg" onerror="this.src='statics/images/layui-logo.jpg';this.onerror=null" alt="产品图片" style="max-width:70px;max-height: 28px;">
</script>
<script type="text/html" id="attachmenteditor">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="download">下载</a>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/other/tpl/viewcustomercomplaint.js"></script>